<?php

class Admin_Form_Origine extends Zend_Form
{
    public function __construct($options = null)
    {
        parent::__construct($options);
        $this->setName('origine');

        //$idespece = new Zend_Form_Element_Hidden('idespece');

        $libFonction = new Zend_Form_Element_Text('libOrigine');
        $libFonction->setLabel('ORIGINE')
        ->setRequired(true)
        ->addFilter('StripTags')
        ->addFilter('StringTrim')
        ->addValidator('NotEmpty');
        

        

        
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setAttrib('id', 'submitbutton');
        
    
        $this->addElements(array($libFonction,$submit));
    }
    
    
    
   
}